﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/global-1column.dwt" codeOutsideHTMLIsLocked="false" -->
<head id="Head1" runat="server">
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>@ViewBag.Title Custom Security Permissions System</title>
<!-- InstanceEndEditable -->
<link href="@Url.Content("~/Content/Styles/Site.css")" rel="stylesheet" type="text/css" />
        @RenderSection("Styles", false)
    <script src="@Url.Content("~/Content/Scripts/jquery-1.6.4.min.js")" type="text/javascript"></script>
        @RenderSection("Scripts", false)
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
</head>
<body>
<div id="wrapper">
	<div id="header">
		<div id="logo">
			&nbsp;
		</div>
        <div id="hdrLinks" >
         @Html.Partial("LogOnUserControl")
        </div>
        
	</div>
	<!-- end #header -->
	<div id="menu">
	 @Html.Partial("_topNav")

  </div>
	<!-- end #menu -->
	<div id="page">
	<div id="page-bgtop">
	<div id="page-bgbtm">
		
        <div id="content">
        <div id="box">
                                <!--- box border -->
                                <a id="A1" name="top"></a>
                                <div id="lb">
                                        <div id="rb">
                                                <div id="bb">

                                                        <div id="blc">
                                                                <div id="brc">
                                                                        <div id="tb">
                                                                                <div id="tlc">
                                                                                        <div id="trc"><!-- InstanceBeginEditable name="mainContent" -->
         @if (TempData["message"] != null)
{
<p style="color:Red; font-weight:bold">@Html.Raw(TempData["message"].ToString())</p>
}
       @RenderBody()
	<br />
	<br />
        &nbsp;
    
		        

		<!-- InstanceEndEditable -->
                                                                                        
                                                                                  </div>
                                                                                </div>
                                                                          </div>
                                                                    </div>
                                                              </div>
                                                       </div>
                                               </div>
                                        </div>
					</div>

<div style="clear: both;">&nbsp;</div>
		</div>
		<!-- end #content -->
        <div style="clear:both">&nbsp;</div>
	</div>
	</div>
	</div>
	<!-- end #page -->
</div>
	<div id="footer">
		<p>Copyright (c) 2012 <a href="#">Parichay</a>. All rights reserved.</p>
	</div>
	<!-- end #footer -->
</body>
</html>
